home *** CD-ROM | disk | FTP | other *** search
- ECHO OFF
- IF EXIST SDLSETUP.TXT GOTO TXTOK
- ECHO Unable to locate the text file to use with DEBUG.
- ECHO Please run SDLSETUP to create the necessary file.
- :NOCHANGE
- ECHO * * *
- ECHO NO CHANGES HAVE BEEN MADE TO SDL.COM!
- pause
- GOTO END
- :TXTOK
- sdl_get F SDLSETUP.TXT
- IF %GET% == 0 GOTO NOCHANGE
- ECHO W >>SDLSETUP.TXT
- ECHO Q >>SDLSETUP.TXT
- ECHO Input complete, now updating SDL.COM . . .
- DEBUG SDL.COM <SDLSETUP.TXT >DEBUG.TST
- IF EXIST DEBUG.TST GOTO OK
- ECHO * * *
- ECHO Using the DOS DEBUG command appears to have failed!
- ECHO DEBUG may not be on a valid disk drive on your system, or
- ECHO you may not have a path to DEBUG. Please check the
- ECHO directories on your path for the existence of DEBUG.COM.
- ECHO If you can establish a path to DEBUG or copy DEBUG.COM
- ECHO to this working area, you can install the changes you
- ECHO have just made by entering SDLDEBUG.
- GOTO END
- :OK
- ERASE DEBUG.TST
- ECHO * * *
- ECHO SDL.COM has been modified.
- ECHO Don't forget to COPY your new version of SDL.COM
- ECHO to the disk and/or directory with your other DOS
- ECHO commands and utilities.
- :END
- IF EXIST SDL*.TXT ERASE SDL*.TXT
- SET GET=
- if not exist INSTALL.BAT goto ISMOD
- ECHO * * *
- Echo Would you like to run INSTALL to copy your modified version of
- Echo SDL.COM to the directory of your choice?
- SDL_GET N "Enter Y to run INSTALL, N to exit to DOS? "
- if errorlevel 89 if not errorlevel 90 INSTALL
- :ISMOD
- if exist menu.bat menu
- ECHO Exiting to DOS ...
-